package main

import (
	"fmt"
	"runtime"
)

func main() {
	maxprocs := runtime.GOMAXPROCS(0)
	fmt.Println("maximum concurrency:", maxprocs)

	maxprocs2 := runtime.GOMAXPROCS(16)
	fmt.Println("maximum concurrency:", maxprocs2)

	maxprocs3 := runtime.GOMAXPROCS(10)
	fmt.Println("maximum concurrency:", maxprocs3)
}
